package lushi;

import lombok.Builder;
import lombok.Getter;

@Builder
@Getter
public class Item {

    private Integer life;

    private Integer acct;

    public Boolean isAlive(){
        return life > 0;
    }

    public void accted(Integer acct){
        life = life - acct;
    }
}
